package com.jsy.mini12306.common.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 票价(Ticket)实体类
 *
 * @author: SongyangJi
 * @since: 2021-09-03 19:32:13
 * @description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Ticket implements Serializable {
    private static final long serialVersionUID = 727703379732754150L;

    private Integer trainId;
    /**
     * 座位类型
     */
    private SeatType seatType;

    private Integer startStationId;

    private Integer endStationId;
    /**
     * 价格
     */
    private Float price;


}
